package java实验一;

public class 程序4 {

	public static void main(String [] args )
	{
		long totalMilliseconds = System.currentTimeMillis();
		long totalSeconds = totalMilliseconds /1000;
	;
		long totalMinutes =totalSeconds/60;
		long currentMinute = totalMinutes %60;
		long totalHours = totalMinutes/60;
		long currentHour = totalHours%24;
		System.out.println("Current time is "+currentHour +":"+ currentMinute+ ":"+currentHour+" GTM");
		
	}
}
